package com.atguigu.gmall.user.service;

import com.atguigu.gmall.model.user.UserAddress;
import com.atguigu.gmall.model.user.UserInfo;

import java.util.List;

public interface UserInfoService {

    //1.校验用户名密码是否正确
    UserInfo login(UserInfo userInfo);

    //获取收货地址
    List<UserAddress> getUserAddressList(String userId);
}
